package com.cloudpan.entity.bo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @Author sc
 * @DATE 2023/11/8 8:55
 * @Description:
 * @Version 1.0
 */
@Data
public class SysBasePageBo {

    @NotNull(message = "参数不能为空")
    @Positive(message="必须是正数")
    private Long pageNo;

    @NotNull(message = "参数不能为空")
    @Positive(message="必须是正数")
    @Max(value = 100, message = "页大小不能超过100")
    private Long pageSize;
}
